Carbon


IsControlVisible

Header: Controls.h Carbon status: Supported

Determines whether a control is visible.

Boolean IsControlVisible (
    ControlRef inControl
);
Parameter descriptions
inControl

A handle to the control to be examined.

function result

If true, the control is visible. If false, the control is hidden.

DISCUSSION

If you wish to determine whether a control is visible, call IsControlVisible instead of testing the contrlVis field of the control structure.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)